const Auth = ({ show_left, authJump, authConfirm }) => {
  return (
    <div>
      <div className="auth-content">
        <div className="img-wrapper" style={{ height: '110px' }}>
          <img src="https://cdn2.jinlb.cn/web/weixin/images/auth_tip@2x.png" alt="auth_tip" />
        </div>
        <p>尊敬的用户您好！您尚未进行<span>实名认证</span></p>
        <p>请点击<span>“立即认证”</span>完成相关操作，谢谢配合</p>
      </div>
      <div className="oper">
        {
          show_left && (
            <div className="left-function" onClick={authJump}>
              <div className="text">我知道了</div>
            </div>
          )
        }
        <div
          className="right-btn"
          onClick={authConfirm}
        >
          立即认证
        </div>
      </div>
    </div>
  )
};

module.exports = {
  Auth,
}